﻿<HTML>
<HEAD>
<TITLE>documents对象属性</TITLE>
</HEAD>
<body>
	<div>页面背景色为：<span style="display: inline-block;width: 45px;height: 16px;background: #CCCCCC;vertical-align: middle;"></span></div>
	<div>前景色（文本色）为：<span style="display: inline-block;width: 45px;height: 16px;background: #666633;vertical-align: middle;"></span></div>
	<div>未点击过的链接颜色为：<span style="display: inline-block;width: 45px;height: 16px;background: #3333FF;vertical-align: middle;"></span></div>
	<div>激活的链接颜色为：<span style="display: inline-block;width: 45px;height: 16px;background: #CC66FF;vertical-align: middle;"></span></div>
	<div>已点击过的链接颜色为：<span style="display: inline-block;width: 45px;height: 16px;background: #FF0000;vertical-align: middle;"></span></div>
	未点击的链接 <a href="http://www.163.com/" target="_blank">http://www.163.com/</a></br>
	激活的链接 <a href="https://hao.360.cn/" target="_blank">https://hao.360.cn/</a></br>
	已点击过的链接 <a href="http://www.baidu.com" target="_blank">http://www.baidu.com</a>
<script type="text/javascript">
	document.bgColor = "#CCCCCC";
	document.fgColor = "#666633";
	document.linkColor = "#3333FF";
	document.alinkColor = "#CC66FF";
	document.vlinkColor = "#FF0000";
</script>
</body>
</HTML>
